import Vue from 'vue'
import Router from 'vue-router'

import Home from '@/components/Home'
import Classify from '@/components/Classify'
import Timetable from '@/components/Timetable'
import Mine from '@/components/Mine'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      redirect:'/home'
    },{
    	path:'/home',
    	component:Home
    },{
    	path:'/classify',
    	component:Classify
    },{
    	path:'/timetable',
    	component:Timetable
    },{
    	path:'/mine',
    	component:Mine
    }
  ]
})
